home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr10 / snr503.zip / ASC2VP.S < prev    next >
Text File  |  1993-05-30  |  2KB  |  56 lines

  1. \  ASC2VP.S
  2. \  Transform a mild-mannered ASCII file into one that has
  3. \  Ventura Publisher special characters in it -- makes it look better in print
  4.  
  5. \  THIS SECTION WILL TRANSFORM COMMON TEXT INTO SPECIAL SYMBOLS
  6. \  You may want to change some of the left-hand definitions, if they
  7. \  conflict with standard text you already use.
  8.  
  9. ...=<193>         \ ellipses (three periods in a row)
  10. --=<197>          \ em dash (two hyphens in a row)
  11. (TM)=<191>        \ trademark, as in Macintosh(TM)
  12. (tm)=<191>        \ trademark
  13. (C)=<189>         \ copyright, as in (C) 1988
  14. (c)=<189>         \ copyright
  15. (R)=<190>         \ registered mark, as in IBM(R) PC
  16. (r)=<190>         \ registered mark
  17. (ss)=<185>        \ section mark, as in (ss)1.2.1
  18. (++)=<186>        \ double dagger
  19. (+)=<187>         \ single dagger
  20.  
  21. \  Here are some definitions for a bullet using a period, asterisk, letter o
  22.  
  23.  . = <195>\20     \ period between spaces to bullet
  24.  \2a = <195>\20   \ asterisk between spaces to bullet
  25.  o = <195>\20     \ "o" between spaces to bullet
  26. \0a. =\0a<195>\20     \ period at beginning of line to bullet
  27. \0a\2a =\0a<195>\20   \ asterisk at beginning of line to bullet
  28. \0ao =\0a<195>\20     \ "o" at beginning of line to bullet
  29.  
  30. \  THIS SECTION WILL FIX DOUBLE QUOTES TO BE LEFT-AND-RIGHT FACING
  31.  
  32. "=<170>        \ If none of the following left-sided conversions are done, then
  33.                \ assume a double quote is a right-sided quote
  34.  
  35.  "= <169>         \ double quote after a space should be left-sided
  36. \0a"=\0a<169>     \ and these are various other left-sided quotes
  37. \09"=\09<169>     \ (You may want to add some of your own)
  38. -"=-<169>
  39. /"=/<169>
  40. ("=(<169>
  41. _"=_<169>
  42.  
  43. \  Note: the following conversions could also be handled with a numeric
  44. \  wild card, but I've chosen to make them literal for speed purposes.
  45.  
  46. 0"=0"          \ assume that quotes following number characters
  47. 1"=1"          \ are meant to be inches.
  48. 2"=2"
  49. 3"=3"
  50. 4"=4"
  51. 5"=5"
  52. 6"=6"
  53. 7"=7"
  54. 8"=8"
  55. 9"=9"
  56.